<template>
  <div>
    pageA,money:{{$store.state.a.money}}
    <button @click="add">加</button>
    <button @click="reduce">减</button>
  </div>
</template>
<script>
  import {mapActions} from 'vuex'
  export default {
    methods:mapActions('a',['add','reduce']),
  }
</script>
